﻿* Encoding: UTF-8.
*Study 4
    
*Scoring Variables DO NOT RERUN

DATASET ACTIVATE DataSet1.
FREQUENCIES VARIABLES=Sex Age Ethnicity Marital
  /ORDER=ANALYSIS.

RECODE BFI_2 BFI_5 BFI_7 BFIFamily__2 BFIFamily__5 BFIFamily__7 BFI_Work_School__2 
    BFI_Work_School__5 BFI_Work_School__7 (1=5) (2=4) (3=3) (4=2) (5=1).
EXECUTE.

COMPUTE BFI=BFI_1 + BFI_2 + BFI_3 + BFI_4 + BFI_5 + BFI_6 + BFI_7 + BFI_8.
EXECUTE.

COMPUTE BFIFAM=BFIFamily__1 + BFIFamily__2 + BFIFamily__3 + BFIFamily__4 + BFIFamily__5 + 
    BFIFamily__6 + BFIFamily__7 + BFIFamily__8.
EXECUTE.

COMPUTE BFIWORK=BFI_Work_School__1 + BFI_Work_School__2 + BFI_Work_School__3 + BFI_Work_School__4 + 
    BFI_Work_School__5 + BFI_Work_School__6 + BFI_Work_School__7 + BFI_Work_School__8.
EXECUTE.

COMPUTE AMBIV=AMB_1 + AMB_2 + AMB_3 + AMB_4 + AMB_5 + AMB_6 + AMB_7 + AMB_8 + AMB_9 + AMB_10.
EXECUTE.

RECODE IPIP_5 IPIP_7 IPIP_8 IPIP_9 IPIP_10 IPIP_11 IPIP_12 IPIP_14 IPIP_16 IPIP_17 (1=5) (2=4) 
    (3=3) (4=2) (5=1).
EXECUTE.

COMPUTE IPIP=IPIP_1 + IPIP_2 + IPIP_3 + IPIP_4 + IPIP_5 + IPIP_6 + IPIP_7 + IPIP_8 + IPIP_9 + 
    IPIP_10 + IPIP_11 + IPIP_12 + IPIP_13 + IPIP_14 + IPIP_15 + IPIP_16 + IPIP_17 + IPIP_18 + IPIP_19 + 
    IPIP_20.
EXECUTE.

RECODE STAR__1 STAR__4 STAR__5 STAR__6 STAR__7 STAR__8 STAR__9 (1=5) (2=4) (3=3) (4=2) (5=1).
EXECUTE.

COMPUTE STARSI=STAR__1 + STAR__2 + STAR__3.
EXECUTE.

COMPUTE STARTI=STAR__4 + STAR__5 + STAR__6.
EXECUTE.

COMPUTE STARAI=STAR__7 + STAR__8 + STAR__9.
EXECUTE.

COMPUTE STARRI=STAR__10 + STAR__11 + STAR__12.
EXECUTE.

COMPUTE STARTOT=STAR__1 + STAR__2 + STAR__3 + STAR__4 + STAR__5 + STAR__6 + STAR__7 + STAR__8 + STAR__9 + STAR__10 + STAR__11 + STAR__12.
EXECUTE. 

RECODE E_D__1 E_D__2 E_D__3 E_D__4 (1=1) (2=2) (3=3) (4=4) (5=6) (8=5) (11=7) INTO NEWED1 NEWED2 
    NEWED3 NEWED4.
EXECUTE.

COMPUTE BFIINT=(BFI_2 + BFI_5 + BFI_7)/3.
EXECUTE.

COMPUTE BFIINTFF=(BFIFamily__2 + BFIFamily__5 + BFIFamily__7)/3.
EXECUTE.

COMPUTE BFIINTWS=(BFI_Work_School__2 + BFI_Work_School__5 + BFI_Work_School__7)/3.
EXECUTE.

COMPUTE BFIEXT=(BFI_1 + BFI_3 + BFI_4 + BFI_6 + BFI_8)/5.
EXECUTE.

COMPUTE BFIEXTFF=(BFIFamily__1 + BFIFamily__3 + BFIFamily__4 + BFIFamily__6 - BFIFamily__8)/5.
EXECUTE.

COMPUTE BFIEXTWS=(BFI_Work_School__1 + BFI_Work_School__3 + BFI_Work_School__4 + BFI_Work_School__6 
    + BFI_Work_School__8)/5.
EXECUTE.

FREQUENCIES VARIABLES=BFIINT BFIINTFF BFIINTWS BFIEXT BFIEXTFF BFIEXTWS
  /STATISTICS=MEDIAN
  /ORDER=ANALYSIS.

RECODE BFIINT (0 thru 2.330=0) (2.331 thru 5=1) INTO BFIINTMED.
EXECUTE.

RECODE BFIINTFF (0 thru 3.330=0) (3.331 thru 5=1) INTO BFIINTFFMED.
EXECUTE.

RECODE BFIINTWS (0 thru 2.330=0) (2.331 thru 5=1) INTO BFIINTWSMED.
EXECUTE.

RECODE BFIEXT (0 thru 2.900=0) (2.901 thru 5=1) INTO BFIEXTMED.
EXECUTE.

RECODE BFIEXTFF (0 thru 2.000=0) (2.001 thru 5=1) INTO BFIEXTFFMED.
EXECUTE.

RECODE BFIEXTWS (0 thru 3.000=0) (3.001 thru 5=1) INTO BFIEXTWSMED.
EXECUTE.

IF (BFIINTMED = 1 AND BFIEXTMED = 1) BFICOND=1. 
IF (BFIINTMED = 1 AND BFIEXTMED = 0) BFICOND=2. 
IF (BFIINTMED = 0 AND BFIEXTMED = 0) BFICOND=3. 
IF (BFIINTMED = 0 AND BFIEXTMED = 1) BFICOND=4. 
    
VALUE LABELS BFICOND 1 'EXT' 2 'UNDIF' 3 'INT' 4 'AMB'. 
EXECUTE.

IF (BFIINTFFMED = 1 AND BFIEXTFFMED = 1) BFIFFCOND=1. 
IF (BFIINTFFMED = 1 AND BFIEXTFFMED = 0) BFIFFCOND=2. 
IF (BFIINTFFMED = 0 AND BFIEXTFFMED = 0) BFIFFCOND=3. 
IF (BFIINTFFMED = 0 AND BFIEXTFFMED = 1) BFIFFCOND=4. 
    
VALUE LABELS BFIFFCOND 1 'EXT' 2 'UNDIF' 3 'INT' 4 'AMB'. 
EXECUTE.

IF (BFIINTWSMED = 1 AND BFIEXTWSMED = 1) BFIWSCOND=1. 
IF (BFIINTWSMED = 1 AND BFIEXTWSMED = 0) BFIWSCOND=2. 
IF (BFIINTWSMED = 0 AND BFIEXTWSMED = 0) BFIWSCOND=3. 
IF (BFIINTWSMED = 0 AND BFIEXTWSMED = 1) BFIWSCOND=4. 
    
VALUE LABELS BFIWSCOND 1 'EXT' 2 'UNDIF' 3 'INT' 4 'AMB'. 
EXECUTE.

COMPUTE IPIPINT=(IPIP_5 + IPIP_7 + IPIP_8 + IPIP_9 + IPIP_10 + IPIP_11 + IPIP_12 + IPIP_14 + IPIP_16 + IPIP_17)/10.
EXECUTE.

COMPUTE IPIPEXT=(IPIP_1 + IPIP_2 + IPIP_3 + IPIP_4 + IPIP_6 + IPIP_13 + IPIP_15 + IPIP_18 + IPIP_19 + IPIP_20)/10.
EXECUTE.

FREQUENCIES VARIABLES=IPIPINT IPIPEXT
  /STATISTICS=MEDIAN
  /ORDER=ANALYSIS.

RECODE IPIPINT (0 thru 2.700=0) (2.701 thru 5=1) INTO IPIPINTMED.
EXECUTE.

RECODE IPIPEXT (0 thru 2.800=0) (2.801 thru 5=1) INTO IPIPEXTMED.
EXECUTE.

IF (IPIPINTMED = 1 AND IPIPEXTMED = 1) IPIPCOND=1. 
IF (IPIPINTMED = 1 AND IPIPEXTMED = 0) IPIPCOND=2. 
IF (IPIPINTMED = 0 AND IPIPEXTMED = 0) IPIPCOND=3. 
IF (IPIPINTMED = 0 AND IPIPEXTMED = 1) IPIPCOND=4. 
    
VALUE LABELS IPIPCOND 1 'EXT' 2 'UNDIF' 3 'INT' 4 'AMB'. 
EXECUTE.

IF (BFIINTFFMED = 1 AND BFIEXTFFMED = 1) BFIFFCOND=1. 
IF (BFIINTFFMED = 1 AND BFIEXTFFMED = 0) BFIFFCOND=2. 
IF (BFIINTFFMED = 0 AND BFIEXTFFMED = 0) BFIFFCOND=3. 
IF (BFIINTFFMED = 0 AND BFIEXTFFMED = 1) BFIFFCOND=4. 
    
VALUE LABELS BFIFFCOND 1 'EXT' 2 'UNDIF' 3 'INT' 4 'AMB'. 
EXECUTE.

IF (BFIINTWSMED = 1 AND BFIEXTWSMED = 1) BFIWSCOND=1. 
IF (BFIINTWSMED = 1 AND BFIEXTWSMED = 0) BFIWSCOND=2. 
IF (BFIINTWSMED = 0 AND BFIEXTWSMED = 0) BFIWSCOND=3. 
IF (BFIINTWSMED = 0 AND BFIEXTWSMED = 1) BFIWSCOND=4. 
    
VALUE LABELS BFIWSCOND 1 'EXT' 2 'UNDIF' 3 'INT' 4 'AMB'. 
EXECUTE.

*Reliability Analyses

RELIABILITY
  /VARIABLES=BFI_1 BFI_2 BFI_3 BFI_4 BFI_5 BFI_6 BFI_7 BFI_8
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE
  /SUMMARY=TOTAL.

RELIABILITY
  /VARIABLES=BFIFamily__1 BFIFamily__2 BFIFamily__3 BFIFamily__4 BFIFamily__5 BFIFamily__6 
    BFIFamily__7 BFIFamily__8
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE
  /SUMMARY=TOTAL.

RELIABILITY
  /VARIABLES=BFI_Work_School__1 BFI_Work_School__2 BFI_Work_School__3 BFI_Work_School__4 
    BFI_Work_School__5 BFI_Work_School__6 BFI_Work_School__7 BFI_Work_School__8
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE
  /SUMMARY=TOTAL.

RELIABILITY
  /VARIABLES=AMB_1 AMB_2 AMB_3 AMB_4 AMB_5 AMB_6 AMB_7 AMB_8 AMB_9 AMB_10
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE
  /SUMMARY=TOTAL.

RELIABILITY
  /VARIABLES=IPIP_1 IPIP_2 IPIP_3 IPIP_4 IPIP_5 IPIP_6 IPIP_7 IPIP_8 IPIP_9 IPIP_10 IPIP_11 IPIP_12 
    IPIP_13 IPIP_14 IPIP_15 IPIP_16 IPIP_17 IPIP_18 IPIP_19 IPIP_20
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE
  /SUMMARY=TOTAL.

RELIABILITY
  /VARIABLES=STAR__1 STAR__2 STAR__3
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE
  /SUMMARY=TOTAL.

RELIABILITY
  /VARIABLES=STAR__4 STAR__5 STAR__6
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE
  /SUMMARY=TOTAL.

RELIABILITY
  /VARIABLES=STAR__7 STAR__8 STAR__9
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE
  /SUMMARY=TOTAL.

RELIABILITY
  /VARIABLES=STAR__10 STAR__11 STAR__12
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE
  /SUMMARY=TOTAL.

RELIABILITY
  /VARIABLES=STAR__1 STAR__2 STAR__3 STAR__4 STAR__5 STAR__6 STAR__7 STAR__8 STAR__9 STAR__10 
    STAR__11 STAR__12
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE
  /SUMMARY=TOTAL.

*Summary Statistics

FREQUENCIES VARIABLES=NEWED1 NEWED2 NEWED3 NEWED4
  /ORDER=ANALYSIS.

FREQUENCIES VARIABLES=BFICOND BFIFFCOND BFIWSCOND
  /ORDER=ANALYSIS.

FREQUENCIES VARIABLES=IPIPCOND
  /ORDER=ANALYSIS.

DATASET ACTIVATE DataSet1.
CROSSTABS
  /TABLES=BFICOND BY IPIPCOND
  /FORMAT=AVALUE TABLES
  /CELLS=COUNT
  /COUNT ROUND CELL.

CROSSTABS
  /TABLES=BFICOND BY BFIFFCOND
  /FORMAT=AVALUE TABLES
  /CELLS=COUNT
  /COUNT ROUND CELL.

CROSSTABS
  /TABLES=BFICOND BY BFIWSCOND
  /FORMAT=AVALUE TABLES
  /CELLS=COUNT
  /COUNT ROUND CELL.

CROSSTABS
  /TABLES=BFICOND BY IPIPCOND
  /FORMAT=AVALUE TABLES
  /CELLS=COUNT
  /COUNT ROUND CELL.

*Change in BFI Across Situations

GLM BFI BFIFAM BFIWORK
  /WSFACTOR=factor1 3 Polynomial 
  /METHOD=SSTYPE(3)
  /EMMEANS=TABLES(factor1) COMPARE ADJ(BONFERRONI)
  /PRINT=DESCRIPTIVE ETASQ 
  /CRITERIA=ALPHA(.05)
  /WSDESIGN=factor1.

*Ambivalence by Condition

ONEWAY AMBIV BY BFICOND
  /ES=OVERALL
  /STATISTICS DESCRIPTIVES 
  /MISSING ANALYSIS
  /CRITERIA=CILEVEL(0.95)
  /POSTHOC=TUKEY ALPHA(0.05).

ONEWAY AMBIV BY BFIFFCOND
  /ES=OVERALL
  /STATISTICS DESCRIPTIVES 
  /MISSING ANALYSIS
  /CRITERIA=CILEVEL(0.95)
  /POSTHOC=TUKEY ALPHA(0.05).

ONEWAY AMBIV BY BFIWSCOND
  /ES=OVERALL
  /STATISTICS DESCRIPTIVES 
  /MISSING ANALYSIS
  /CRITERIA=CILEVEL(0.95)
  /POSTHOC=TUKEY ALPHA(0.05).

ONEWAY AMBIV BY IPIPCOND
  /ES=OVERALL
  /STATISTICS DESCRIPTIVES 
  /MISSING ANALYSIS
  /CRITERIA=CILEVEL(0.95)
  /POSTHOC=TUKEY ALPHA(0.05).

*Correlations Between Variables

CORRELATIONS
  /VARIABLES=BFI BFIFAM BFIWORK IPIP AMBIV STARSI STARTI STARAI STARRI NEWED1 NEWED2 NEWED3 NEWED4
  /PRINT=TWOTAIL NOSIG FULL
  /MISSING=PAIRWISE.

*NewED by Extraversion Measures

ONEWAY NEWED1 NEWED2 NEWED3 NEWED4 BY BFICOND
  /ES=OVERALL
  /STATISTICS DESCRIPTIVES 
  /MISSING ANALYSIS
  /CRITERIA=CILEVEL(0.95)
  /POSTHOC=TUKEY ALPHA(0.05).

ONEWAY NEWED1 NEWED2 NEWED3 NEWED4 BY IPIPCOND
  /ES=OVERALL
  /STATISTICS DESCRIPTIVES 
  /MISSING ANALYSIS
  /CRITERIA=CILEVEL(0.95)
  /POSTHOC=TUKEY ALPHA(0.05).

GLM NEWED1 NEWED2 NEWED3 NEWED4
  /WSFACTOR=factor1 4 Polynomial 
  /METHOD=SSTYPE(3)
  /EMMEANS=TABLES(factor1) COMPARE ADJ(BONFERRONI)
  /PRINT=DESCRIPTIVE ETASQ 
  /CRITERIA=ALPHA(.05)
  /WSDESIGN=factor1.

*Extraversion Measures Across Conditions

DATASET ACTIVATE DataSet1.
GLM BFIINT BFIINTFF BFIINTWS BY BFICOND
  /WSFACTOR=factor1 3 Polynomial 
  /METHOD=SSTYPE(3)
  /PLOT=PROFILE(factor1*BFICOND) TYPE=LINE ERRORBAR=NO MEANREFERENCE=NO YAXIS=AUTO
  /PRINT=DESCRIPTIVE ETASQ 
  /CRITERIA=ALPHA(.05)
  /WSDESIGN=factor1 
  /DESIGN=BFICOND.

GLM BFIINT BFIINTFF BFIINTWS BY IPIPCOND
  /WSFACTOR=factor1 3 Polynomial 
  /METHOD=SSTYPE(3)
  /PLOT=PROFILE(factor1*IPIPCOND) TYPE=LINE ERRORBAR=NO MEANREFERENCE=NO YAXIS=AUTO
  /PRINT=DESCRIPTIVE ETASQ 
  /CRITERIA=ALPHA(.05)
  /WSDESIGN=factor1 
  /DESIGN=IPIPCOND.

GLM NEWED1 NEWED2 NEWED3 NEWED4 BY BFICOND
  /WSFACTOR=factor1 4 Polynomial 
  /METHOD=SSTYPE(3)
  /PLOT=PROFILE(factor1*BFICOND) TYPE=LINE ERRORBAR=NO MEANREFERENCE=NO YAXIS=AUTO
  /PRINT=DESCRIPTIVE ETASQ 
  /CRITERIA=ALPHA(.05)
  /WSDESIGN=factor1 
  /DESIGN=BFICOND.

GLM NEWED1 NEWED2 NEWED3 NEWED4 BY IPIPCOND
  /WSFACTOR=factor1 4 Polynomial 
  /METHOD=SSTYPE(3)
  /PLOT=PROFILE(factor1*IPIPCOND) TYPE=LINE ERRORBAR=NO MEANREFERENCE=NO YAXIS=AUTO
  /PRINT=DESCRIPTIVE ETASQ 
  /CRITERIA=ALPHA(.05)
  /WSDESIGN=factor1 
  /DESIGN=IPIPCOND.

*Factor Analysis of STAR Measure to Create STAR Subscales

FACTOR
  /VARIABLES STAR__1 STAR__2 STAR__3 STAR__4 STAR__5 STAR__6 STAR__7 STAR__8 STAR__9 STAR__10 
    STAR__11 STAR__12
  /MISSING LISTWISE 
  /ANALYSIS STAR__1 STAR__2 STAR__3 STAR__4 STAR__5 STAR__6 STAR__7 STAR__8 STAR__9 STAR__10 
    STAR__11 STAR__12
  /PRINT UNIVARIATE INITIAL KMO EXTRACTION ROTATION
  /FORMAT SORT BLANK(.30)
  /PLOT EIGEN
  /CRITERIA FACTORS(2) ITERATE(25)
  /EXTRACTION PAF
  /CRITERIA ITERATE(25)
  /ROTATION PROMAX(4)
  /METHOD=CORRELATION.

RELIABILITY
  /VARIABLES=STAR__1 STAR__2 STAR__3 STAR__10 STAR__11 STAR__12
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE
  /SUMMARY=TOTAL.

RELIABILITY
  /VARIABLES=STAR__4 STAR__5 STAR__6 STAR__7 STAR__8 STAR__9
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE
  /SUMMARY=TOTAL.

COMPUTE STARTA=STAR__1 + STAR__2 + STAR__3 + STAR__10 + STAR__11 + STAR__12.
EXECUTE.

COMPUTE STARSR=STAR__4 + STAR__5 + STAR__6 + STAR__7 + STAR__8 + STAR__9.
EXECUTE.

CORRELATIONS
  /VARIABLES=BFI BFIFAM BFIWORK IPIP STARTA STARSR AMBIV NEWED1 NEWED2 NEWED3 NEWED4
  /PRINT=TWOTAIL NOSIG FULL
  /MISSING=PAIRWISE.

*PLOTS

USE ALL.
COMPUTE filter_$=(BFICOND = 1 or BFICOND = 4).
VARIABLE LABELS filter_$ 'BFICOND = 1 or BFICOND = 4 (FILTER)'.
VALUE LABELS filter_$ 0 'Not Selected' 1 'Selected'.
FORMATS filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE.
DATASET ACTIVATE DataSet1.
GLM BFIINT BFIINTFF BY BFICOND
  /WSFACTOR=factor1 2 Polynomial
  /METHOD=SSTYPE(3)
  /PLOT=PROFILE(factor1*BFICOND) TYPE=LINE ERRORBAR=NO MEANREFERENCE=NO YAXIS=AUTO
  /PRINT=DESCRIPTIVE ETASQ
  /CRITERIA=ALPHA(.05)
  /WSDESIGN=factor1
  /DESIGN=BFICOND.



DATASET ACTIVATE DataSet1.
GLM BFIINT BFIINTWS BY BFICOND
  /WSFACTOR=factor1 2 Polynomial 
  /METHOD=SSTYPE(3)
  /PLOT=PROFILE(factor1*BFICOND) TYPE=LINE ERRORBAR=NO MEANREFERENCE=NO YAXIS=AUTO
  /PRINT=DESCRIPTIVE ETASQ 
  /CRITERIA=ALPHA(.05)
  /WSDESIGN=factor1 
  /DESIGN=BFICOND.

DATASET ACTIVATE DataSet1.
USE ALL.
COMPUTE filter_$=(BFICOND = 1 or BFICOND = 4).
VARIABLE LABELS filter_$ 'BFICOND = 1 or BFICOND = 4 (FILTER)'.
VALUE LABELS filter_$ 0 'Not Selected' 1 'Selected'.
FORMATS filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE.

GLM NEWED1  NEWED3  BY BFICOND
  /WSFACTOR=factor1 2 Polynomial 
  /METHOD=SSTYPE(3)
  /PLOT=PROFILE(factor1*BFICOND) TYPE=LINE ERRORBAR=NO MEANREFERENCE=NO YAXIS=AUTO
  /PRINT=DESCRIPTIVE ETASQ 
  /CRITERIA=ALPHA(.05)
  /WSDESIGN=factor1 
  /DESIGN=BFICOND.


GLM NEWED1  NEWED4  BY BFICOND
  /WSFACTOR=factor1 2 Polynomial 
  /METHOD=SSTYPE(3)
  /PLOT=PROFILE(factor1*BFICOND) TYPE=LINE ERRORBAR=NO MEANREFERENCE=NO YAXIS=AUTO
  /PRINT=DESCRIPTIVE ETASQ 
  /CRITERIA=ALPHA(.05)
  /WSDESIGN=factor1 
  /DESIGN=BFICOND.

FILTER OFF.
USE ALL.
EXECUTE.

GLM STARTA STARSR BY BFICOND
  /WSFACTOR=factor1 2 Polynomial 
  /METHOD=SSTYPE(3)
  /PLOT=PROFILE(factor1*BFICOND) TYPE=LINE ERRORBAR=NO MEANREFERENCE=NO YAXIS=AUTO
  /PRINT=DESCRIPTIVE ETASQ 
  /CRITERIA=ALPHA(.05)
  /WSDESIGN=factor1 
  /DESIGN=BFICOND.

DATASET ACTIVATE DataSet1.
USE ALL.

UNIANOVA STARTA BY BFICOND
  /METHOD=SSTYPE(3)
  /INTERCEPT=INCLUDE
  /POSTHOC=BFICOND(TUKEY)
  /PRINT ETASQ DESCRIPTIVE
  /CRITERIA=ALPHA(.05)
  /DESIGN=BFICOND.

UNIANOVA STARSR BY BFICOND
  /METHOD=SSTYPE(3)
  /INTERCEPT=INCLUDE
  /POSTHOC=BFICOND(TUKEY)
  /PRINT ETASQ DESCRIPTIVE
  /CRITERIA=ALPHA(.05)
  /DESIGN=BFICOND.

COMPUTE Shift1=NEWED1-NEWED2.
EXECUTE.
COMPUTE Shift2=NEWED1-NEWED3.
EXECUTE.
COMPUTE Shift3=NEWED1-NEWED4.
EXECUTE.
ONEWAY Shift1 Shift2 Shift3 BY BFICOND
  /ES=OVERALL
  /STATISTICS DESCRIPTIVES
  /MISSING ANALYSIS
  /CRITERIA=CILEVEL(0.95)
  /POSTHOC=TUKEY ALPHA(0.05).

COMPUTE BFIINTITEMS=BFI_2 + BFI_5 + BFI_7.
EXECUTE.
CORRELATIONS
  /VARIABLES=STARTA STARSR BFIINTITEMS
  /PRINT=TWOTAIL NOSIG FULL
  /MISSING=PAIRWISE.

